﻿<navigation:Page x:Class="ControlTestApplications.Silverlight.Dashboard.Messaging" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:controls="clr-namespace:Microsoft.Telco.Controls;assembly=Microsoft.Telco.Controls"
           xmlns:bkl="clr-namespace:Blacklight.Controls;assembly=Blacklight.Controls"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="Messaging Controls">
    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer"
                      Style="{StaticResource PageScrollViewerStyle}">
            <bkl:DragDockPanelHost x:Name="dragDockPanelHost"
                                   MinimizedPosition="Right"
                                   HorizontalAlignment="Stretch"
                                   VerticalAlignment="Stretch">
                <bkl:DragDockPanel Header="Transcribe Media Control"
                                   Background="Beige" 
                                   PanelState="Minimized"
                                   Margin="2">
                    <controls:TranscribeMediaControl x:Name="transcribeMediaContrl"
                                         HorizontalAlignment="Center" Width="350" Height="200"
                                         VerticalAlignment="Center" OnStartPlaying="transcribeMediaContrl_OnStartPlaying" OnStopRecording="transcribeMediaContrl_OnStopRecording"></controls:TranscribeMediaControl>
                </bkl:DragDockPanel>
                <bkl:DragDockPanel Header="SMS Control"
                                   Background="Beige"
                                   PanelState="Maximized"
                                   Margin="2">
                    <controls:SMSControl x:Name="smsControl"
                                         Width="400"
                                         ShowHeader="True"
                                         CountryTextFontSize="20"
                                         CountryTextForeground="Black"
                                         PhoneNumberTextFontFamily="Comic Sans MS"
                                         SendSMSTriggerEvent="smsControl_SendSMSTriggerEvent"
                                         HorizontalAlignment="Center"
                                         VerticalAlignment="Center"
                                         MessagesListHeight="100"></controls:SMSControl>
                </bkl:DragDockPanel>
            </bkl:DragDockPanelHost>
        </ScrollViewer>
    </Grid>
</navigation:Page>
